//
//  BKIntegralListModel.h
//  bestkeep
//
//  Created by yons on 16/12/5.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BKIntegralListModel : NSObject
@property (nonatomic,strong)NSString * changeType;//1//1积分收入，0积分消费
@property (nonatomic,strong)NSString * createdDate;//"createdDate": 1477360383000,
@property (nonatomic,strong)NSString * createdDateStr;//"2016-10-25 09:53:03//日期",
@property (nonatomic,strong)NSString * str_id;//1rqJ6wBhQDexLP7fuCsEDw
@property (nonatomic,strong)NSString * integralAmount;//5//分值，如果是消费会返回负数
@property (nonatomic,strong)NSString * title;//手机签到
@property (nonatomic,strong)NSString * type;//"0//1：手机签到，2：话费充值，3：流量充值，4：分享商品，5：兑换优惠券，6：兑换商品",
@property (nonatomic,strong)NSString * updatedDate;//1477360383000
@property (nonatomic,strong)NSString * updatedDateStr;//"2016-10-25 09:53:03"
@property (nonatomic,strong)NSString * userId;//265666
+(BKIntegralListModel*)getModelWithDic:(NSDictionary *)dic;
+(NSMutableArray*)getmArrWithDic:(NSDictionary *)dic;
/*
 * {
 "data": {
 "list": [
 {
 "changeType": 1,
 "createdDate": 1477400361000,
 "createdDateStr": "2016-10-25 20:59:21",
 "id": "0Vo5MrMYSBu8J4Z7584eNw",
 "integralAmount": 5,
 "title": "手机签到",
 "type": 0,
 "updatedDate": 1477400361000,
 "updatedDateStr": "2016-10-25 20:59:21",
 "userId": "1032341"
 }
 ],
 "total": 2
 },
 "resultCode": "1",
 "success": true
 }
 */

@end
